<div>
    申请销号部门：<nz-tree-select class="wd140" nzShowSearch [nzDropdownMatchSelectWidth]="false"
        [nzDropdownStyle]="treeNodeStyle" nzPlaceHolder="请选择申请销号部门" [nzNodes]="tbbmNodes"
        [(ngModel)]="searchParam.submitOrgId">
    </nz-tree-select>&nbsp;&nbsp;&nbsp;
    隐患等级：<nz-select nzAllowClear class="wd140" nzPlaceHolder="请选择隐患等级" [(ngModel)]="searchParam.problemLevel">
        <nz-option *ngFor="let item of yhdjSelect" [nzLabel]="item" [nzValue]="item"></nz-option>
    </nz-select>&nbsp;&nbsp;&nbsp;
    责任部门：<nz-tree-select class="wd140" nzShowSearch [nzDropdownMatchSelectWidth]="false"
        [nzDropdownStyle]="treeNodeStyle" nzPlaceHolder="请选择责任部门" [nzNodes]="zrbmNodes"
        [(ngModel)]="searchParam.chargeOrgId">
    </nz-tree-select>&nbsp;&nbsp;&nbsp;
    配合部门：<nz-tree-select class="wd140" nzShowSearch [nzMultiple]="true" [nzDropdownMatchSelectWidth]="false"
        [nzDropdownStyle]="treeNodeStyle" nzPlaceHolder="请选择配合部门" [nzNodes]="phbmNodes"
        [(ngModel)]="searchParam.assistOrgId">
    </nz-tree-select>&nbsp;&nbsp;&nbsp;
    督办部门：<nz-tree-select class="wd140" nzShowSearch [nzDropdownMatchSelectWidth]="false"
        [nzDropdownStyle]="treeNodeStyle" nzPlaceHolder="请选择督办部门" [nzNodes]="dbbmNodes"
        [(ngModel)]="searchParam.superviceOrgId">
    </nz-tree-select>
</div>
<div class="m10">
    整改时限：<nz-date-picker [(ngModel)]="searchParam.deadline"></nz-date-picker>&nbsp;&nbsp;&nbsp;
    牵头领导：<input class="wd140" nz-input placeholder="请输入牵头领导" [(ngModel)]="searchParam.leader" />&nbsp;&nbsp;&nbsp;
    状态：<nz-select nzAllowClear class="wd140" nzPlaceHolder="请选择" [(ngModel)]="searchParam.status">
        <nz-option *ngFor="let item of ztSelect" [nzLabel]="item.label" [nzValue]="item.value"></nz-option>
    </nz-select>&nbsp;&nbsp;&nbsp;
    <button nz-button nzType="default" (click)="search()"><i nz-icon nzType="search"></i>查询</button>
</div>
<div class="p150">
    <button nz-button nzType="default" (click)="modalShow('addModal')"><i nz-icon nzType="plus-circle"></i>新编</button>
    <button nz-button nzType="default" (click)="modalShow('delModal')"><i nz-icon nzType="delete"></i>删除</button>
    <button nz-button nzType="default" (click)="modalShow('editModal')"><i nz-icon nzType="edit"></i>修改</button>
    <button nz-button nzType="default" (click)="modalShow('sqxhModal')"><i nz-icon nzType="check-circle"></i>申请销号</button>
    <button nz-button nzType="default" (click)="modalShow('pzModal')"><i nz-icon nzType="check-circle"></i>批准</button>
    <button nz-button nzType="default" (click)="modalShow('bhModal')"><i nz-icon nzType="close-circle"></i>驳回</button>
    <button nz-button nzType="default" (click)="modalShow('sqrkModal')"><i nz-icon
            nzType="check-circle"></i>申请入库</button>
    <button nz-button nzType="default" (click)="modalShow('pzrkModal')"><i nz-icon
            nzType="check-circle"></i>批准入库</button>
    <button nz-button nzType="default" (click)="modalShow('bhrkModal')"><i nz-icon
            nzType="close-circle"></i>驳回入库</button>
    <button nz-button nzType="default" (click)="modalShow('zgwtModal')"><i nz-icon
            nzType="check-circle"></i>整改问题</button>
    <button nz-button nzType="default" (click)="export()"><i nz-icon nzType="upload"></i>导出</button>
</div>

<app-tablecheckpage #tcp [tableId]="'safeHiddenDanger'" [tableScroll]="tableScroll" [headData]="headData"
    [plainData]="plainData"></app-tablecheckpage>

<app-operamodal *ngIf="operaList.addModal" [operaWidth]="800" [popTitle]="'新增安全隐患库'" [operaType]="'add'"
    [apiUrl]="apiUrl.add" (closeModal)="modalHide('addModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.editModal" [operaWidth]="800" [popTitle]="'修改安全隐患库'" [operaType]="'edit'"
    [apiUrl]="apiUrl.edit" [responseData]="tempData" (closeModal)="modalHide('editModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.delModal" [popTitle]="'删除安全隐患库'" [operaText]="'删除'" [operaType]="'del'"
    [apiUrl]="apiUrl.del" [responseData]="tempData" (closeModal)="modalHide('delModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.sqxhModal" [popTitle]="'申请销号'" [operaText]="'申请销号'" [operaType]="'sqxh'" [apiUrl]="apiUrl.sqxh"
    [responseData]="tempData" (closeModal)="modalHide('sqxhModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.pzModal" [popTitle]="'批准'" [operaText]="'批准'" [operaType]="'pz'" [apiUrl]="apiUrl.pz"
    [responseData]="tempData" (closeModal)="modalHide('pzModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.bhModal" [popTitle]="'驳回'" [operaText]="'驳回'" [operaType]="'bh'" [apiUrl]="apiUrl.bh"
    [responseData]="tempData" (closeModal)="modalHide('bhModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.sqrkModal" [popTitle]="'申请入库'" [operaText]="'申请'" [operaType]="'sqrk'"
    [apiUrl]="apiUrl.sqrk" [responseData]="tempData" (closeModal)="modalHide('sqrkModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.pzrkModal" [popTitle]="'批准入库'" [operaText]="'批准'" [operaType]="'pzrk'"
    [apiUrl]="apiUrl.pzrk" [responseData]="tempData" (closeModal)="modalHide('pzrkModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.bhrkModal" [popTitle]="'驳回入库'" [operaText]="'驳回'" [operaType]="'bhrk'"
    [apiUrl]="apiUrl.bhrk" [responseData]="tempData" (closeModal)="modalHide('bhrkModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.zgwtModal" [popTitle]="'整改问题'" [operaText]="'整改'" [operaType]="'zgwt'"
    [apiUrl]="apiUrl.zgwt" [responseData]="tempData" (closeModal)="modalHide('zgwtModal')" (reloadData)="loadList()">
</app-operamodal>